using GLib;

void uuid_generate ([CCode (array_length = "false")]uchar[] data);

string uuid_generate_string ()
{
	uchar[] uuid = new uchar[16];
	uuid_generate (uuid);

	return "%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x".printf (uuid[0], uuid[1], uuid[2], uuid[3], uuid[4], uuid[5], uuid[6], uuid[7], uuid[8], uuid[9], uuid[10], uuid[11], uuid[12], uuid[13], uuid[14], uuid[15]);
}
